# -*- bazel -*-

load("@drake//tools/skylark:cc.bzl", "cc_library")
load("@drake//tools/install:install.bzl", "install")

licenses(["notice"])  # zlib

package(default_visibility = ["//visibility:private"])

cc_library(
    name = "tinyxml2",
    hdrs = ["tinyxml2.h"],
    srcs = ["tinyxml2.cpp"],
    strip_include_prefix = "/",
    linkstatic = 1,
    visibility = ["//visibility:public"],
)

install(
    name = "install",
    docs = ["LICENSE.txt"],
    visibility = ["//visibility:public"],
)
